package com.kgc.basicprovider.service;

import com.kgc.basic.pojo.Provider;
import com.kgc.basic.util.ResponseMsg;

import java.util.Map;

public interface ProviderService {

    //校验编码是否重复
    ResponseMsg selectProviderByCode(String code);

    ResponseMsg selectProviderByPage(Map<String, Object> map);

    ResponseMsg insertProvider(Provider provider);

    ResponseMsg updateProvider(Provider provider);

    ResponseMsg deleteProvider(int id);

    ResponseMsg selectAllSupplier();

    ResponseMsg getProviderAllByData();

}
